//查看派发材料列表
import request from '/@/utils/request';
const getDistributeMList = (params: any) => {
	return request({
		url: '/cgDistributeM/page',
		method: 'get',
		data: params,
	});
};
//查看材料明细
const getDistributeDetail = (params: any) => {
	return request({
		url: '/cgApplyMaterial/GetDetail',
		method: 'get',
		data: params,
	});
};
//材料转派
const postDistributeAction = (params: any) => {
	return request({
		url: '/cgDistributeM/reassignment',
		method: 'post',
		data: params,
	});
};
//删除材料
const postDeleteDistributeAction = (params: any) => {
	return request({
		url: '/cgDistributeM/delete',
		method: 'post',
		data: params,
	});
};
export { getDistributeMList, getDistributeDetail, postDistributeAction, postDeleteDistributeAction };
